#include <iostream>
using namespace std;

int fac(int x, int y)
{
    if (y == 0)
    {
        return 1;
    }
    return x * fac(x, y - 1);
}

int main()
{
    cout << endl
         << "学号：3170608043，姓名：石英钰" << endl
         << endl
         << "Features: 求x的y次幂" << endl
         << endl;

    cout << "2的3次方为: " << fac(2, 3) << endl;
}